package com.midou.administration.controller;


import com.midou.administration.entity.SetMeal;
import com.midou.administration.service.SetMealService;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author MrChen
 * @since 2021-03-24
 */
@RestController
@RequestMapping("/administration/set-meal")
public class SetMealController {
    @Resource
    private SetMealService setMealService;
    @RequestMapping("/query-all-setmeal")
    public List<SetMeal> queryAllSetMeal(@RequestBody Integer mid){
        return setMealService.querySetMeal(mid);
    }
}
